package com.ruoyi.yljf.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BasePlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 练习题对象 yljf_exercise_question
 * 
 * @author metaee
 * @date 2025-04-25
 */
@Data
@TableName(value = "yljf_exercise_question")
public class ExerciseQuestion  {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 章节id */
    @Excel(name = "章节id")
    private Long packageId;

    /** 题目id */
    @Excel(name = "题目id")
    private Long questionId;

    /** 题目 */
    @Excel(name = "题目")
    @TableField(exist = false)
    private String questionTitle;

    /** 选项 */
    @Excel(name = "选项")
    @TableField(exist = false)
    private String questionOptions;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;



}
